<!DOCTYPE html>
<html lang="zh-CN">
[#include "/theme/default/common/nav.html" /]
[#include "/theme/default/common/head.html" /]
[#include "/theme/default/common/footer.html" /]
<head>
[@head "一尺三寸" /]
 <meta property="qc:admins" content="771506651761130131635663757" /> 
</head>
<body>
	<div class="fakeloader"></div>

    [@nav  1 /]
	<!-- /.navbar -->

	<div class="container">

		<div class="row">

			<div class="col-xs-12 col-sm-9">
				<p class="pull-right visible-xs">
					<button type="button" class="btn btn-primary btn-xs"
						data-toggle="offcanvas">Toggle nav</button>
				</p>
				<div class="jumbotron">
					<h1>一尺三寸</h1>
					<p>知识者共享平台，全部代码开源。</p>
				</div>
				[#if articles??]
				[#list articles as item]
				<div class="row">
					<div class="col-xs-12 col-lg-12">
						<h2>${item.title!""}</h2>
						<p>${item.introduction!""}</p>
						<p>
							<a class="btn btn-default pull-right" href="${siteurl}article/view/${item.id}.htm" role="button">点击查看更多 &raquo;</a>
						</p>
					</div>
				</div>
				<hr>
				[/#list]
				[/#if]
				<!--/row-->
			</div>
			<!--/.col-xs-12.col-sm-9-->

			<div class="col-xs-6 col-sm-3" id="sidebar">
				<div class="list-group">
				    [#if catalogs??]
				    [#list catalogs as item  ]
					<a href="${siteurl}article/catalog.htm?id=${item.id}" class="list-group-item">${item.name!""}</a> 
					[/#list]
						
					[/#if]
				</div>
			</div>
			<!--/.sidebar-offcanvas-->
		</div>
		<!--/row-->

		<hr>
        [@footer /]
		

	</div>
	<!--/.container-->



</body>
</html>
